package com.kehutong.wxapi.response;

import org.coraframework.json.annotation.JSONField;

import java.util.List;

/**
 * 分配离职成员的客户响应对象
 * @author: liukunlong
 * @date: 2021-03-05 09:11
 */
public class ResignedTransferCustomerResponse {

    /**
     * errcode
     */ /**
     * errcode : 0
     * errmsg : ok
     * customer : [{"external_userid":"woAJ2GCAAAXtWyujaWJHDDGi0mACBBBB","errcode":0},{"external_userid":"woAJ2GCAAAXtWyujaWJHDDGi0mACAAAA","errcode":40096}]
     */

    @JSONField(name = "errcode")
    private Integer errcode;
    /**
     * errmsg
     */
    @JSONField(name = "errmsg")
    private String errmsg;
    /**
     * customer
     */
    @JSONField(name = "customer")
    private List<CustomerDTO> customer;

    public Integer getErrcode() {
        return errcode;
    }

    public void setErrcode(Integer errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public List<CustomerDTO> getCustomer() {
        return customer;
    }

    public void setCustomer(List<CustomerDTO> customer) {
        this.customer = customer;
    }

    public static class CustomerDTO {
        /**
         * externalUserid
         */ /**
         * external_userid : woAJ2GCAAAXtWyujaWJHDDGi0mACBBBB
         * errcode : 0
         */

        @JSONField(name = "external_userid")
        private String externalUserid;
        /**
         * errcode
         */
        @JSONField(name = "errcode")
        private Integer errcode;

        public String getExternalUserid() {
            return externalUserid;
        }

        public void setExternalUserid(String externalUserid) {
            this.externalUserid = externalUserid;
        }

        public Integer getErrcode() {
            return errcode;
        }

        public void setErrcode(Integer errcode) {
            this.errcode = errcode;
        }
    }
}
